<!-- eslint-disable vue/multi-word-component-names -->
<template>
    <div class="parameter">
        <div class="title">环境参数</div>
        <div class="list">
            <div class="item">
                <div class="label">Language：</div>
                <div class="value">{{ data.hign?.language || '--' }}</div>
            </div>
            <div class="item">
                <div class="label">Timezone：</div>
                <div class="value">{{ data.hign?.timeZone || '--' }}</div>
            </div>
            <div class="item">
                <div class="label">UA：</div>
                <div class="value">{{ data.setting?.userAgent || '--' }}</div>
            </div>
        </div>
    </div>
</template>

<script setup>
// eslint-disable-next-line no-undef
const props = defineProps({
    data: Object
})
</script>

<style lang="scss" scoped>
.parameter {
    display: flex;
    flex-direction: column;

    .title {
        color: rgb(135, 135, 139);
        font-size: 16px;
    }

    .list {
        margin-top: 16px;
        display: flex;
        flex-direction: column;

        .item {
            display: flex;
            color: #87878b;
            font-size: 16px;
            margin-bottom: 12px;

            .label {
                margin-right: 8px;
            }

            .value {
                flex: 1;
            }
        }
    }
}
</style>